import {request} from "@/utils/request.js";

export async function input_query_people(data){
    return request({
        method: 'POST',
        url: '/query/input_query_people',
        data,
    })
}

export function input_query_project(data){
    return request({
        method: 'POST',
        url: '/query/input_query_project',
        data,
    })
}

export async function get_query_people(data){
    return request({
        method: 'POST',
        url: '/query/get_query_people',
        data,
    })
}

export async function get_query_project(data){
    return request({
        method: 'POST',
        url: '/query/get_query_project',
        data,
    })
}

export async function get_graph(key){
    return request({
        method: 'POST',
        url: `/query/get_graph?chose=${key}`,
    })
}